<?php
/*
 * Template Name: Eventos
 */
?>
<?php get_header(); ?>    

<style type="text/css" media="screen">
    
    .type-tribe_events {
        border-bottom: 2px solid #dcdcdc;
        padding-bottom: 35px;
        margin-bottom: 10px;
    }
    
</style>

                
                <!--- CONTENT --->

                <div id="conteudo-pagina" class="shadow">
                   
                    <div id="container" class="grid-12">
                        
                    <!--- LIST-POSTS --->                                             
                        
                        <div class=" alpha grid-11">
                            
                            
                         <?php if(have_posts()): while (have_posts()): the_post(); ?>                              
                            <div class="post">
                                <h1 style="font-size: 30px;"><?php the_title(); ?></h1>
                                <hr />
                                    
                                <span class="texto"><?php the_content(__('Leia Mais')); ?></span>
                                
                                <hr /><br /><br />
                                <div class="alpha grid-8 comentarios" style="margin-bottom:20px;">
                                   <?php the_page_comments(); ?>
                                </div>
                                <div class="infobarra height10">
                                  <?php 
                                      sidebar();
                                      $side = new sidebar();
                                      $side->style('grid-4');
                                  ?>
                                    <div class="bar-widget float-left">
                                       <?php $side->get_tag_cloud(12); ?>
                                       <?php $side->get_bookmarks(6); ?>
                                    </div>
                                    <div class="float-left">
                                       <?php $side->get_facebook(282,331); ?>
                                    </div>
                                    <div class="bar-widget1 float-left">
                                       <?php $side->get_mais_vistos(15); ?>
                                    </div>
                                      
                                  
                                    <div class="clearfix"></div>
                                </div>     
                            </div>    
                            
                         <?php endwhile; else:?> 
                         <?php endif; ?> 
                            
                        </div>
                          

                    <!--- SIDEBAR --->                                         
                    

                    </div>
                    <div class="clearfix"></div>
                </div>
                
                
                <!--- BOTTOM-CONTENT --->


            </div>
        </div>

        <!--- FOOTER --->       

  <?php get_footer(); ?>